package com.woniuxy;

import com.woniuxy.annotation.RequrePerms;
import com.woniuxy.interceptors.AuthInterceptor;
import com.woniuxy.interceptors.InterceptorRegister;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.TypeExcludeFilter;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.FilterType;

/**
 * @Author: 马宇航
 * @Do: 网关启动类
 * @DateTime: 22/06/27/0027 下午 2:29
 * @Component: 成都蜗牛学苑
 **/
@SpringBootApplication
@EnableEurekaClient
@ComponentScan(basePackages = {"com.woniuxy.globalfilter","com.woniuxy.predicates"})
public class GatewayApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApp.class,args);
    }
}
